package com.stu.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author MI
 * @ClassName ReceiveFile.java
 * @createTime 2022年01月07日 14:18:00
 */
@Slf4j
@RestController
@RequestMapping("/recive")
public class ReceiveFile {

    @PostMapping("/ReceiveFile")
    public String receive(String message) {
        log.info("接受到数据[{}]", message);
        return "s";
    }
}
